﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="tin.aspx.cs" Inherits="tin" %>

<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content_top">
    </div>
    <div id="content_middle">
        <div class="box">
            <div class="box-heading">
             <div class=c2>
                <span><asp:Label ID="lb_ten_tin" runat="server"></asp:Label></span>
                </div>
            </div>
            <div class="product-list">
                <asp:Label ID="lb_messenger" runat="server"></asp:Label>
                <asp:DataList ID="datalist_tin" runat="server">
                    <ItemTemplate>
                        <div class="list_tin">
                            <div class="image">
                                <a href="/tin/<%# Eval("tin_id") %>/<%# Utils.GetTitle( Eval("tieu_de").ToString()) %>.html">
                                    <img src="/images/<%# Eval("anh_nho") %>" width="160" height="160"></a></div>
                            <div class="name">
                                <a href="/tin/<%# Eval("tin_id") %>/<%# Utils.GetTitle( Eval("tieu_de").ToString()) %>.html">
                                    <%# Eval("tieu_de") %></a></div>
                            <div style="margin-top: 4px; margin-bottom: 5px; color: gray; font-size: 11px;">
                                <%# Eval("ngay_tao") %></div>
                            <div class="description">
                                <%# Eval("tom_tat") %></div>
                            <div style="float: right; padding-right:10px">
                                <a style="text-decoration: none" href="/tin/<%# Eval("tin_id") %>/<%# Utils.GetTitle( Eval("tieu_de").ToString()) %>.html">
                                    Xem tiếp »</a></div>
                            <div class="cleaner">
                            </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </div>
        <div class="cleaner">
        </div>
        <cc1:CollectionPager ID="CollectionPager2" runat="server" BackNextDisplay="Buttons"
            BackNextLocation="Split" BackText="Back" PageSize="8" NextText="Next" ResultsLocation="None"
            ShowLabel="False" PagingMode="PostBack">
        </cc1:CollectionPager>
    </div>
</asp:Content>
